package com.ulic.customerManApplication.studentmodule.dao;

import java.util.List;

import com.ulic.customerManApplication.pager.PagerModel;
import com.ulic.customerManApplication.studentmodule.bo.SubStudent;
import com.ulic.customerManApplication.studentmodule.vo.SubStudentVO;
import com.ulic.customerManApplication.usermodule.bo.User;

public interface SubStudentDao {

    public PagerModel getSubStudents(int curPage);
   
    public List<SubStudent> getSubStudents(User user);
    
    public PagerModel getSubStudents(SubStudentVO subStudentVO,int curPage);
	
	public SubStudent getSubStudent(int id);
	
	public List<SubStudent> getSubStudentsByJourId(Integer journeyLoveId);
	
	public void insertSubStudent(SubStudent subStudent) throws Exception;
	
	public void insertSubStudents(List<SubStudent> subStudents) throws Exception;
	
	public void deleteSubStudent(SubStudent subStudent) throws Exception;
	
	public void updateSubStudent(SubStudent subStudent) throws Exception;
}
